//
//  HerosModel.h
//  项目二
//
//  Created by rimi on 16/5/24.
//  Copyright © 2016年 objective. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HerosModel : NSObject
//@property (nonatomic,copy) NSString *name;
//@property (nonatomic,copy) NSString *Intro;
//@property (nonatomic,copy) NSString *icon;
//
///**重写init*/
//+ (instancetype)heroModelWithDictionary:(NSDictionary *)dic;
//- (instancetype)initWithHerosDictionary:(NSDictionary *)dic;
///**快速返回已经转为英雄模型的数组*/
//+ (NSArray *)heros;


@property (nonatomic, copy)    NSString          *name;
@property (nonatomic, copy)    NSString          *intro;
@property (nonatomic, copy)    NSString          *icon;


// 重写init
+ (instancetype)herosModelWithDictionary:(NSDictionary *)dictionary;
- (instancetype)initWithHerosDictionary:(NSDictionary *)dictionary;

// 快速返回已经转换为英雄模型的数组
+ (NSArray *)heros;
@end
